import {get, postJson, put} from '../http/request'

export function createCancellationRequests(params){
    return postJson("/cancellationRequests/createCancellationRequests",params)
}

export function getCancelRequests(){
    return get("/cancellationRequests/cancellation-requests")
}

export function agreeCancelRequest(params){
    return put("/cancellationRequests/auditCancellationRequests",params)
}
export function rejectCancelRequest(params){
    return put("/cancellationRequests/rejectCancellationRequests",params)
}